package com.sk.skplanet.commute.views;

import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;

import com.sk.skplanet.commute.R;
import com.sk.skplanet.commute.vo.Data;

public class MemberLogin extends Activity {

	RelativeLayout layout_memberlogin;
	Button button_memberlogin;
	EditText edittext_memberlogin_email, edittext_memberlogin_password;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.memberlogin);

		layout_memberlogin = (RelativeLayout) findViewById(R.id.layout_memberlogin);
		button_memberlogin = (Button) findViewById(R.id.button_memberlogin);
		button_memberlogin.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				startActivity(new Intent(MemberLogin.this, RouteList.class));
			}
		});
		layout_memberlogin.setBackgroundColor(Color.parseColor(Data.layout_routeColor));
		edittext_memberlogin_email = (EditText) findViewById(R.id.edittext_memberlogin_email);
		edittext_memberlogin_password = (EditText) findViewById(R.id.edittext_memberlogin_password);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.memberlogin, menu);
		return true;
	}

}
